package pers.sen.health.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author Jason
 * @version 1.0.0
 * @date 2020/11/5 9:40
 * @Description 分页配置（拦截器）
 */
@Configuration
public class PageHelperConfig {
    @Bean
    public PaginationInterceptor paginationInterceptor(){
        return new PaginationInterceptor();
    }
}
